<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>北京市职业介绍服务信息系统</title>
  <link rel="stylesheet" href="./styles/css/common.css">
</head>

<body class="body">
  <div class="all">
			<include src="./include/header.html"></include>
    <!-- main 开始 -->
    <div class="main result">
      <div class="container clearfix ">
        <div class="left shadow">
          <div class="card_title">
            <h3>
              <a href="./index.html" class="go_back" title="点击返回首页">
                < 返回</a> | <span>测评结果</span>
            </h3>
          </div>
          <div class="result_content">
            <div class="result_wrap">
              <table class="res_table_title">
                <tr>
                  <th width="10%">序号</th>
                  <th width="60%">测评时间</th>
                  <!-- <th width="20%">测评得分</th> -->
                  <th width="30%">操作</th>
                </tr>
              </table>
              <div class="result_wrap_list Result_wraps" id="reanderList_wrap">
                <script type="text/html" id="reanderList">
									<%if (+data.executeResult == 1) {%>
										<% var list = data.lccpjg%>
                    <table class="res_table">
                      <%for(var i = 0; i < list.length; i ++) {%>
                        <%var cur = list[i]%>
                          <tr>
														<td width="10%"><%=i+1%></td>
                            <td width="60%" class="test_name">
                              <%=cur.jscpsj%>
														</td>
														<!-- <td width="20%">
															  <%=cur.zf%>
														</td> -->
														<td width="30%">
															<a class="view_a" href="./resultDetail.html?cppcid=<%=cur.cppcid%>" target="_blank">查看</a>
                            </td>
                          </tr>
                          <%}%>
                    </table>
                    <%} else {%>
                      <p class="no_result">暂无测评结果</p>
                      <%}%>
                </script>
              </div>
            </div>
          </div>
        </div>
        <!-- 右侧公用信息 -->
        <include src="./include/rightBox.html"></include>
      </div>
    </div>
    <!-- main 结束 -->
		<include src="./include/footer.html"></include>
  </div>

  <script src="./common/js/vendor.js"></script>
  <script src="./common/js/common.js"></script>
  <script>
    $(function () {
			var Load = new $.Loading(); //加载
			init();

			function init(){
        Load.on();
				$.asyncRender({
				url: '/zxwqy/lccpCx',
				type: 'get',
				wrap: '#reanderList_wrap',
				tem: '#reanderList',
				pos: 'returnData',
				}).done(function (res) {
          Load.off();
				var _res = res.returnData;
				if (+_res.executeResult === 1) {
				} else {
				$.layerMsg(_res.message, '我知道了');
				}
				})
			}
    });
  </script>
</body>

</html>
